#include<stdio.h>
#include<string.h>
#include<unistd.h>
#define STYLE '='
#define GREEN "\033[0;32;32m"
#define NON  "\033[m"
const char*mouse="/-\\-";
void process()
{
  int cnt=0;
  char map[102]={'\0'};
  while(cnt<=100)
  {
    printf(GREEN"[%-100s]"NON"[%%%d][%c]\r",map,cnt,mouse[cnt%strlen(mouse)]);
        map[cnt++]=STYLE;
        if(cnt<100)
        map[cnt]='>';
       fflush(stdout);
       usleep(100000);
  }
}
int main()
{

process();
printf("\n");
return 0;
}
